﻿using FarmSmartSleep.Common.Domain.AubitFile;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FarmSmartSleep.Common.Domain.PM
{
    /// <summary>
    /// 种母历史记录
    /// </summary>
    public class SeedMotherHistoryRecord : Aubuit
    {
        /// <summary>
        /// 种母历史记录的ID
        /// </summary>
        [Key]
        public int SeedMotherHistoryRecordId { get; set; }
        /// <summary>
        /// 种母耳标号
        /// </summary>
        public int SowId { get; set; }

        /// <summary>
        /// 配种日期
        /// </summary>
        public DateTime MatingDate { get; set; }

        /// <summary>
        /// 种公耳标号
        /// </summary>
        public int BoarId { get; set; }

        /// <summary>
        /// 妊娠检查日期
        /// </summary>
        public DateTime PregnancyCheckDate { get; set; }

        /// <summary>
        /// 妊娠检查结果（如：妊娠、未妊娠）
        /// </summary>
        public string PregnancyCheckResult { get; set; }

        /// <summary>
        /// 分娩日期 
        /// </summary>
        public DateTime FarrowingDate { get; set; }

        /// <summary>
        /// 出生的健壮羔羊数
        /// </summary>
        public int HealthyLambsCount { get; set; }

        /// <summary>
        /// 健壮羔羊的总重量
        /// </summary>
        public decimal HealthyL { get; set; }

        /// <summary>
        /// 弱羔数
        /// </summary>
        public int weak_lambs_count { get; set; }
        /// <summary>
        /// 畸形数
        /// </summary>
        public int deformed_lambs_count { get; set; }
        /// <summary>
        /// 死胎数
        /// </summary>
        public int stillborn_lambs_count { get; set; }
        /// <summary>
        /// 木乃伊数
        /// </summary>
        public int mummified_lambs_count { get; set; }
        /// <summary>
        /// 畸胎数
        /// </summary>
        public int malformed_fetus_count { get; set; }
        /// <summary>
        /// 断奶只数
        /// </summary>
        public int WeanedQuantity { get; set; }
        /// <summary>
        /// 断奶总窝重（公斤）
        /// </summary>
        public decimal TotalWeaningWeight { get; set; }
        /// <summary>
        /// 断奶日期
        /// </summary>
        public DateTime WeanedDate { get; set; }
        /// <summary>
        /// 当前胎次
        /// </summary>
        public int WeanedNum { get; set; }
    }
}
